#include "jamod_global.h"
#include "jamod_proxyimport.h"
#include "q_shared.h"

#pragma warning(disable:4172)

__declspec(dllexport) game_import_t* __cdecl JAMod_GetGameAPI(void)
{
	game_import_t (__cdecl *getFromProxy)(void) = (game_import_t (__cdecl *)(void))GetProcAddress(proxyCaller, "GetGameAPI2");
	game_import_t retVal = getFromProxy();
	return &retVal;
}

__declspec(dllexport) game_export_t* __cdecl JAMod_GetGameExports(void)
{
	game_export_t (__cdecl *getFromProxy)(void) = (game_export_t (__cdecl *)(void))GetProcAddress(proxyCaller, "GetGameExports");
	game_export_t retVal = getFromProxy();
	return &retVal;
}